import mainChildRouters from './mainChildRouters';

const mainRouter = [
  {
    path: '/login',
    component: () => import('../views/Login.vue')
  },
  {
    path:'/main',
    component: () => import('../views/main'),
    children: mainChildRouters
  },
  {
    path:'/',
    redirect:"/main"
  }

];

export default mainRouter;
